namespace SimpleWebServices.Models
{
    using System.Xml.Serialization;
    using SimpleWebServices.Data;
    using SimpleWebServices.Web;
    using SimpleWebServices.Web.UI.Html.Elements;

    [XmlRoot("content")]
    public sealed class Content : Resource
    {
        [XmlElement("div")]
        public Division Div
        {
            get;
            set;
        }

        [XmlIgnore]
        public override string Entity
        {
            get
            {
                Entity value = new Entity(base.Entity);
                value.Append(this.Div);

                return value;
            }
        }
    }
}